<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/common/taglibs.jsp" %>
<html>
<head>
    <title>作业详情</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <jsp:include page="/WEB-INF/views/common/include_css.jsp"/>
</head>
<body>
<div id="tb" style="height: 280px">
    <p style="text-align: center;">${homeworkDetail.title}</p>
    <%--因为KindEditor会自动去掉html,body标签,所以可以放在div中--%>
    <div>${homeworkDetail.content}</div>
</div>
<div>
    <c:if test="${homeworkDetail.filename != null && homeworkDetail.filename != '' }">
        附件：<a href="${ctx}/study/homeworkDetail/downloadFile?id=${homeworkDetail.id}">${homeworkDetail.filename}</a>
    </c:if>
</div>
<jsp:include page="/WEB-INF/views/common/include_javascript.jsp"/>
<script src="${ctx}/static/js/homework/homework_detail_view_teacher.js"></script>
</body>
</html>
